package com.atmilan.quartz.model.entity.gb;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Gb商品映射对象
 * @Description: 
 * @author daigb
 * @date 2021-06-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true)
public class GbProductSku extends Model<GbProductSku> {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 商品id
     */
    private String idArticolo;

    /**
     * 则扣
     */
    private String sconto;

    /**
     * cod_articolo
     */
    private String codArticolo;

    /**
     * BarCode
     */
    private String barCode;

    /**
     * idArtCod
     */
    private String idArtCod;

    /**
     * 尺码
     */
    private String taglia;

    /**
     * 库存
     */
    private String disponibilita;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
